package com.hy.config;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ImportResult {
    private int successCount = 0;
    private int failCount = 0;
    private List<String> errorMessages = new ArrayList<>();

    public void addSuccessCount(int count) {
        this.successCount += count;
    }

    public void addFailCount(int count) {
        this.failCount += count;
    }

    public void addErrorMessage(String message) {
        this.errorMessages.add(message);
    }
}
